package com.ck.common.model;

import java.io.Serializable;

/**
* @Description: 系统用户
* @Author: hf
* @Date:    2019/4/29 9:51
* @Version: 1.0
*/
public class User implements Serializable{

	private static final long serialVersionUID = -3334002824620007282L;
	/**
	 * 用户主键
	 */
	private Long userId;
	/**
	 * 部门ID
	 */
	private Long departmentId;
	/**
	 * 用户名
	 */
	private String userName;
	/**
	 * 姓名
	 */
	private String realName;
	/**
	 * 姓名
	 */
	private String nickName;
	/**
	 * 密码
	 */
	private String password;
	/**
	 * 手机号
	 */
	private String mobilePhone;
	/**
	 * 账户类型
	 */
	private String type;
	/**
	 * 添加时间
	 */
	private Long addTime;
	/**
	 * 更新时间
	 */
	private Long updateTime;
	/**
	 * 状态（1：启用；0：禁用）
	 */
	private Boolean status;
	/**
	 * 头像url
	 */
	private String avatar;
	/**
	 * 性别
	 */
	private String gender;
	/**
	 * 最近一次登录时间
	 */
	private Long lastLoginTime;
	/**
	 * 最近一次登录ip
	 */
	private String lastLoginIp;
	/**
	 * 备注
	 */
	private String remark;
	/**
	 * 操作人
	 */
	private String operator;

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getDepartmentId() {
		return departmentId;
	}

	public void setDepartmentId(Long departmentId) {
		this.departmentId = departmentId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getMobilePhone() {
		return mobilePhone;
	}

	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}

	public Long getAddTime() {
		return addTime;
	}

	public void setAddTime(Long addTime) {
		this.addTime = addTime;
	}

	public Long getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Long updateTime) {
		this.updateTime = updateTime;
	}

	public Boolean getStatus() {
		return status;
	}

	public void setStatus(Boolean status) {
		this.status = status;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public Long getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(Long lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public String getLastLoginIp() {
		return lastLoginIp;
	}

	public void setLastLoginIp(String lastLoginIp) {
		this.lastLoginIp = lastLoginIp;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public User() {
	}

	public User(Long userId) {
		this.userId = userId;
	}

	public User(String userName) {
		this.userName = userName;
	}
}